package com.CST.service;

import com.CST.entity.BdSysMenu;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>菜单 服务类</p>
 *
 * @author: y
 * @create: 2021-09-27 14:47
 **/
public interface IBdSysMenuService extends IService<BdSysMenu> {
    /**
     * 获取菜单信息
     *
     * @param id
     * @return java.util.List<com.CST.entity.BdSysMenu>
     *
     * @author y
     * @since 2021/09/27 15:13
     */
    BdSysMenu getSyeMenu(@Param("id") String id);

    /**
     * 新建菜单
     *
     * @param bdSysMenu
     * @return com.CST.common.api.Response
     *
     * @author y
     * @since 2021/09/27 15:52
     */
    boolean insertSysMenu(BdSysMenu bdSysMenu);

    /**
     * 更新菜单表
     *
     * @param bdSysMenu
     * @return int
     *
     * @author y
     * @since 2021/09/27 17:06
     */
    boolean updateSysMenu(BdSysMenu bdSysMenu);

    /**
     * <p>获取角色下菜单所有</p >
     *
     * @param roleId
     * @return java.lang.Object
     *
     * @author y
     * @since 2021/10/13 16:59
     */
    Object getSysMenuListByRole(String roleId);


    /**
     * <p>获取全部菜单</p >
     *
     * @return java.lang.Object
     *
     * @author y
     * @since 2021/10/13 17:03
     */
    Object getSysMenu();

    Object getSysMenuLike(String name);

    Object getMenuAll(String name);

    Object getMenuInfo(String id);
}

